package com.googlecode.restitory.gae.hook;

import com.googlecode.restitory.gae.Request;
import com.googlecode.restitory.gae.Response;

public class ControlHook implements Hook {

	@Override
	public Response execute(Request request, Chain chain) {
		String path = request.getPath();
		if (path.startsWith("/_")) {
			return null;
		}
		return chain.execute(request);
	}

}
